package com.sicong.common.security.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 鉴权标记
 * @author chenww
 * @date 2020-12-24
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Inner {

    /**
     * 是否只允许内部调用
     * @return boolean
     */
    boolean value() default true;

}
